diff options
Diffstat (limited to 'src/pages/[...path].tsx')
-rw-r--r-- | src/pages/[...path].tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pages/[...path].tsx b/src/pages/[...path].tsx index 19dc42d..9f55cf8 100644 --- a/src/pages/[...path].tsx +++ b/src/pages/[...path].tsx @@ -6,7 +6,7 @@ import Emoji from '../Emoji'; import Image from '../Image'; import emojiPlugin from '../emojiPlugin'; import remarkGemoji from 'remark-gemoji'; -import benzinConfig from '../benzinConfig'; +import benzinConfig from '../config'; import Code from '../Code'; const transformLinkUri = (uri: string): string => { @@ -30,7 +30,7 @@ export const getStaticProps = async (context: GetStaticPropsContext) => { ); const markdownSource = await benzinConfig.adapter.getMarkdownSource(benzinConfig.CDN, path); - const emojiFileNames = await benzinConfig.adapter.getEmojiFileNames(benzinConfig.CDN, benzinConfig.emojiRootPath); + const emojiFileNames = await benzinConfig.adapter.getEmojiFileNames(benzinConfig.CDN, benzinConfig.paths.emojiRoot); return { props: { @@ -56,7 +56,7 @@ const Page: NextPage = ({ markdownSource, emojiFileNames }: any) => { <Head> <title>{benzinConfig.title}</title> <meta name="description" content="TODO" /> - <link rel="icon" href={`${benzinConfig.CDN}${benzinConfig.faviconPath}`}/> + <link rel="icon" href={`${benzinConfig.CDN}${benzinConfig.paths.favicon}`}/> </Head> <main> <ReactMarkdown |